(C) 1996 AROS - The Amiga Replacement OS


NAME
#include <proto/graphics.h>
BOOL InitRastPort()
SYNOPSIS
struct RastPort * rp

LOCATION
In GfxBase at offset 33
FUNCTION
Initializes a RastPort structure.

INPUTS
rp
The RastPort to initialize.
RESULT
TRUE if the RastPort was successfuly initialized and FALSE otherwise.

NOTES
You must call DeinitRastPort() before you free the structure.

AROS defines this function with a return value which you should check.

EXAMPLE
BUGS
SEE ALSO
INTERNALS
HISTORY
27.01.1997 ldp
Polish
10.12.1996 aros
Moved #include into first column to allow makedepend to see it.
31.10.1996 aros
Fill the RastPort with real values

Added comments

Has now a return value !

31.10.1996 aros
Moved driver prototypes into graphics_intern.h
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
15.08.1996 digulla
Initialize a non-copied rastport